Commit graph

239 commits

Author SHA1 Message Date
Dana Jansens
3fa11ec62b round 2 for this shit 2003-09-08 18:05:42 +00:00
Dana Jansens
4c0adb1f2b flush after resizing a client 2003-09-08 18:01:46 +00:00
Dana Jansens
5bebe5fbf8 if the client is growing, resize it before the frame. if its shrinking, then resize the frame first. reduces flicker lots. 2003-09-08 17:58:31 +00:00
Dana Jansens
9f2a844beb watch for windows with titlecounts changing their title and getting an incorrect titlecount 2003-09-08 17:51:54 +00:00
Dana Jansens
e9d878f47d oops 2003-09-08 17:39:21 +00:00
Dana Jansens
7cbcc099ef some simpler code 2003-09-08 17:30:55 +00:00
Dana Jansens
3942d579d8 dont reset all the states to FALSE in client_get_state, this made an initial IconicState get ignored 2003-09-08 17:22:46 +00:00
Dana Jansens
4bec1c07db Closes #799. i think im too high to say more. 2003-09-06 09:25:05 +00:00
Dana Jansens
c20a8d986a handle the case where a transient is a child of a dockapp 2003-09-03 22:06:17 +00:00
Dana Jansens
e7b2e52b78 support getting the desktop from the startup notification protocol
pass on to the startup notification code that a window has mapped with a given wmclass
2003-09-03 20:42:49 +00:00
Dana Jansens
806a8c411f add a reconfigure action, also reconfigure on SIGUSR2.
support reconfiguring throughout the entire codebase.
2003-09-03 18:11:39 +00:00
Dana Jansens
5e5fdb1666 make the client destructor a GDestroyNotify 2003-09-03 08:10:51 +00:00
Dana Jansens
78dfba0195 stop doing stupid shit for the size increments in client_configure, it belongs in the moveresize code. add it there. 2003-09-02 07:50:52 +00:00
Dana Jansens
3ab0fc4814 flash when urgent 2003-09-01 03:42:44 +00:00
Dana Jansens
9d42df6ab4 add urgent actions
add some macros for moving/resizing clients
add 'vibrate' action
2003-09-01 02:02:40 +00:00
Dana Jansens
3e4495c4c8 move_onscreen was supposed to go away.. :) thanks mikachu 2003-08-31 06:55:14 +00:00
Dana Jansens
0185445e3a use the nwe theme's show_handle value 2003-08-30 19:02:48 +00:00
Dana Jansens
8e76e32863 add destructor functions for clients that you acn subscribe with, and use these instead of hardcoding special cases in the unmanage code 2003-08-30 17:46:23 +00:00
Dana Jansens
3c5f6db04c remove the event dispatcher 2003-08-29 06:52:55 +00:00
Dana Jansens
615cbd9607 change the menu plugin interface, no need for the create/destroy functions any more.
redo the client-menu plugin to work with the new menu api
2003-08-28 05:44:13 +00:00
Dana Jansens
c34ef4028e half way through the changes to new menu code/design. hot shit. static menus work, on to plugins next. 2003-08-28 02:10:23 +00:00
Dana Jansens
a32c2c125c dont be rude to non-normal windows with keeping them onscreen 2003-08-27 18:50:12 +00:00
Dana Jansens
fdfaa0c8dd remove the last of the cool stuff thanks to GTK fuck fuck. no more not focusing windows in groups that arent focused on map 2003-08-25 18:40:00 +00:00
Dana Jansens
5186d04c61 better handling of maximizing, wrt changing decorations on the windows, and showing the correct decor for the max state especially for windows which dont change size (Xnest) when maximized cuz they are at their maximum size already 2003-08-25 08:49:48 +00:00
Dana Jansens
0964b804a1 restore the stacking order of a saved session 2003-08-25 07:48:28 +00:00
Dana Jansens
888c3d1f6a make activate take a here parameter 2003-08-14 05:57:45 +00:00
Dana Jansens
950b85b988 oops i fucked up tore's patch. better. 2003-08-12 19:41:22 +00:00
Dana Jansens
e531f69006 bug fixes for growtoedge from tore. props to tore for all the growtoedge and movetoedge code, and directional focus code also since i dont think i mentioned his name before in the changelogs woot. 2003-08-12 19:25:03 +00:00
Dana Jansens
f4979de3f5 dont move windows when starting 2003-08-12 09:30:28 +00:00
Dana Jansens
c1f0f7c40f small bugfix to the directional focus code.
add the client_directional_edge_search function.
2003-08-12 08:25:04 +00:00
Dana Jansens
c90da6da78 move the keyboard and mouse plugins into the kernel for mucho sexiness.
make workspace changing a grabbed/interactive process like focus cycling is, with the popup and all.
this is some hot shit.
2003-08-12 07:26:16 +00:00
Dana Jansens
d94fba7262 save the frame decorations in client_configure_full before causing the fake frame adjust, since that loses its old value. 2003-08-10 23:30:15 +00:00
Dana Jansens
2494762dbf a couple frame layout bugfixes hidden inside all this.. wee
fixes for maximizing windows:
 - when you toggledecor, it will reconfigure once, but the new constraints from the decor changes would not be in effect when the window was resized to the contranits. fixed by calling frame_adjust_area first thing ni client_configure_fulll with fake=TRUE which will recalc all the frame geometry without resizing/redrawing anything in the frame. this way the decor can take effect in the geometries.
 - when maxed horizontally, make the client fill the screen, but dont do this by just making it wider than the screen, fit it to the screen and adjust the titlebar/handle as appropriate to keep it all on the screen.
 - when maxed horizontally and vertically, remove the handle from the decorations
2003-08-05 10:31:20 +00:00
Dana Jansens
853d5f4b70 when setting up decor on a window, it needs to reconfigure twice if the decor changes, cuz the constraints need the new frame sizes to work right 2003-08-05 07:39:44 +00:00
Dana Jansens
26827d875a kill non-opaque move/resize
add an option for redrawing/resizing the client window while resizing, when disabled the client is not touched until the resize is complete.
2003-08-03 17:47:10 +00:00
Dana Jansens
be7c0d426a use the frame size not the client size when figuring out if stuff fits on the screen 2003-08-02 18:09:46 +00:00
Dana Jansens
4a2400c5c2 that line ended up in teh if somehow... 2003-08-02 05:31:23 +00:00
Dana Jansens
c8fa3a6028 set the desktop hint if the desktop is changed by the session code 2003-07-31 09:02:56 +00:00
Dana Jansens
d7f3d16fb7 set the desktop hint after everything is read/setup even session stuff 2003-07-31 09:01:14 +00:00
Dana Jansens
717d10f31a add the window to the lists before setting the client list hint 2003-07-31 08:45:57 +00:00
Dana Jansens
02c15aca65 add a function to retrieve the sm_client_id value 2003-07-31 08:04:20 +00:00
Dana Jansens
9c1438f17b restore saved session data for applications 2003-07-30 20:01:35 +00:00
Dana Jansens
9e9e6278d5 attemp #3 2003-07-30 16:15:51 +00:00
Dana Jansens
f346738173 attempt #2 at better logical size values 2003-07-30 16:14:24 +00:00
Dana Jansens
0a809d36dd attempt #2 at better logical size values 2003-07-30 16:13:52 +00:00
Dana Jansens
c852826e9e include the base size in the logical size 2003-07-30 16:09:56 +00:00
Dana Jansens
006de2abaa the size can be 0 when there is a base size 2003-07-30 07:09:36 +00:00
Dana Jansens
1aa0bc66eb improved ICCCM compliance!
a) send ConfigureNotify back to the client as required by the ICCCM in all sitatuations.
  b) send the corrent coords in the ConfigureNotify, including the border width
  c) remove the WM_STATE property when unmanaging a window
2003-07-30 06:19:15 +00:00
Dana Jansens
b799cfd9a3 base rudeness on if they have a strut even smarter! 2003-07-28 19:59:37 +00:00
Dana Jansens
067776e783 base rudeness on if they have a strut or not 2003-07-28 19:56:52 +00:00