ch11ng / exwm

Emacs X Window Manager
2.85k stars 134 forks source link

Fullscreen one out of two monitors #434

Open matthew-piziak opened 6 years ago

matthew-piziak commented 6 years ago

When I am running Chromium in EXWM I can fullscreen YouTube across two monitors using YouTube's fullscreen button or F, and I can fullscreen Chromium itself across two monitors with Emacs's C-c C-f which runs exwm-layout-set-fullscreen.

Naturally there isn't much point in watching a YouTube video on one half each of two monitors. How can I tell EXWM to fullscreen something across one monitor only?

Note that the problem exists in tiling mode as well as floating mode.

Here is the same question as a StackExchange post:

ch11ng commented 6 years ago

What's the output of xrandr? Basically when an app is set to full screen EXWM would resize it into the size of its workspace. So it depends on how workspaces are placed.

matthew-piziak commented 6 years ago

Got it. I think I have a single workspace, that would explain it. Thank you!

Screen 0: minimum 320 x 200, current 5120 x 1440, maximum 16384 x 16384
DVI-I-1 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
   2560x1440     59.95*+
   1920x1440     75.00    60.00  
   1856x1392     75.00    60.01  
   1792x1344     75.00    60.01  
   1920x1080     60.00  
   1600x1200     75.00    70.00    65.00    60.00  
   1680x1050     59.88  
   1400x1050     74.76    59.98  
   1280x1024     75.02    60.02  
   1440x900      59.90  
   1280x960      60.00  
   1280x800      59.91  
   1152x864      75.00  
   1280x720      60.00  
   1024x768      75.05    60.04    75.03    70.07    60.00  
   960x720       75.00    60.00  
   928x696       75.00    60.05  
   896x672       75.05    60.01  
   832x624       74.55  
   800x600       75.00    70.00    65.00    60.00    72.19    75.00    60.32    56.25  
   700x525       74.76    59.98  
   640x512       75.02    60.02  
   640x480       60.00    75.00    72.81    75.00    66.67    59.94  
   720x400       70.08  
   576x432       75.00  
   512x384       75.03    70.07    60.00  
   416x312       74.66  
   400x300       72.19    75.12    60.32    56.34  
   320x240       72.81    75.00    60.05  
DVI-D-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 connected 2560x1440+2560+0 (normal left inverted right x axis y axis) 597mm x 336mm
   2560x1440     59.95*+
   1920x1440     75.00    60.00  
   1856x1392     75.00    60.01  
   1792x1344     75.00    60.01  
   1920x1080     60.00    60.00    50.00    59.94    30.00    25.00    24.00    29.97    23.98  
   1920x1080i    60.00    50.00    59.94  
   1600x1200     75.00    70.00    65.00    60.00  
   1680x1050     59.88  
   1400x1050     74.76    59.98  
   1280x1024     75.02    60.02  
   1440x900      59.90  
   1280x960      60.00  
   1280x800      59.91  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1440x576      50.00  
   1024x768      75.05    60.04    75.03    70.07    60.00  
   960x720       75.00    60.00  
   1440x480      60.00    59.94  
   928x696       75.00    60.05  
   896x672       75.05    60.01  
   832x624       74.55  
   800x600       75.00    70.00    65.00    60.00    72.19    75.00    60.32    56.25  
   720x576       50.00  
   700x525       74.76    59.98  
   720x480       60.00    59.94  
   640x512       75.02    60.02  
   640x480       60.00    75.00    72.81    75.00    66.67    60.00    59.94  
   720x400       70.08  
   576x432       75.00  
   512x384       75.03    70.07    60.00  
   416x312       74.66  
   400x300       72.19    75.12    60.32    56.34  
   320x240       72.81    75.00    60.05  
DP-1 disconnected (normal left inverted right x axis y axis)